import 'package:get/get.dart';
import 'package:location_test/app/presentation/bindings/history_binding.dart';
import 'package:location_test/app/presentation/bindings/home_binding.dart';
import 'package:location_test/app/presentation/bindings/nmea_log_binding.dart';
import 'package:location_test/app/presentation/bindings/upload_history_binding.dart';
import 'package:location_test/app/presentation/views/history_view.dart';
import 'package:location_test/app/presentation/views/home_view.dart';
import 'package:location_test/app/presentation/views/nmea_log_view.dart';
import 'package:location_test/app/presentation/views/upload_history_view.dart';
import 'app_routes.dart';

class AppPages {
  static const INITIAL = Routes.HOME;

  static final routes = [
    GetPage(
      name: Routes.HOME,
      page: () => const HomeView(),
      binding: HomeBinding(),
    ),
    GetPage(
      name: Routes.HISTORY,
      page: () => const HistoryView(),
      binding: HistoryBinding(),
    ),
    GetPage(
      name: Routes.NMEA_LOG,
      page: () => const NmeaLogView(),
      binding: NmeaLogBinding(),
    ),
    GetPage(
      name: Routes.UPLOAD_HISTORY,
      page: () => const UploadHistoryView(),
      binding: UploadHistoryBinding(),
    ),
  ];
}